package com.juben.svr.service.impl;

import com.juben.svr.domain.Conversations;
import com.juben.svr.mapper.MessageMapper;
import com.juben.svr.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class messageImpl implements MessageService {
    @Autowired
    private MessageMapper messageMapper;

    public Conversations getconversationByUID(Integer user1_id){
        Conversations conversations = messageMapper.getconversationByUID(user1_id);
        System.out.println("conversations:"+conversations);
        return conversations;
    }

}
